package com.zhiyou.app.pojo.entity;

import com.zhiyou.app.pojo.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author jonathan.z
 * @since 2025-07-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("id_user_wallet")
@Accessors(chain = true)
public class UserWalletEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;
    /**
     * 金额
     */
    private Integer totalAmount = 0;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 可提现金额
     */
    private Integer withdrawableAmount = 0;

    /**
     * 冻结金额，提现过程中被冻结
     */
    private Integer freezeAmount = 0;

}
